package org.example.book.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.book.model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;

@Mapper
public interface UserInfoMapper {

    @Select("select * from user_info where user_name = #{name} and delete_flag=0")
    UserInfo getUserInfoByName(String name);

}
